from base.base_page import BasePage


class ImagePage(BasePage):

    def adjust_btn(self):
        return self.by_accessibility_id('调整').click()

    def repair_btn(self):
        return self.by_accessibility_id('修复').click()

    def filter_btn(self):
        return self.by_accessibility_id('滤镜').click()

    def apply_all_btn(self):
        return self.by_accessibility_id('应用到全部').click()

    def btn_4_complete(self):
        return self.by_id(self.HW_ENV + "btn_4_complete").click()

    def original_btn(self):
        return self.by_accessibility_id('无').click()

    def shadow_removal_btn(self):
        return self.by_accessibility_id('去阴影').click()

    def hand_removal_btn(self):
        return self.by_accessibility_id('去手写').click()

    def watermark_removal_btn(self):
        return self.by_accessibility_id('去水印').click()

    def screen_pattern_removal_btn(self):
        return self.by_accessibility_id('去屏纹').click()

    def sharpening_btn(self):
        return self.by_accessibility_id('锐化').click()

    def blast_btn(self):
        return self.by_accessibility_id('增亮').click()

    def ink_save_btn(self):
        return self.by_accessibility_id('省墨').click()

    def save_btn(self):
        return self.by_accessibility_id('保存').click()